/* 
 * File:   Pilha.hpp
 * Author: Ana Paula
 *
 * Created on 11 de Julho de 2011, 13:37
 */

#ifndef PILHA_HPP
#define	PILHA_HPP

#include "Aplicacao.hpp"
#include "Layer.hpp"
#include "Transporte.h"
#include "Rede.h"
#include "Enlace.hpp"
//##include "Fisico.hpp"
#include "FisicoFake.hpp"
#include "ConfigLoader.hpp"
#include <string>

using namespace ufpb::project::network;

    class Pilha {

        private:

            Aplicacao* aplicacao;
            Transporte* transporte;
            Rede* rede;
            Enlace* enlace;
            Fisico* fisico;
            
        public:

            Pilha ();
            ~Pilha();
            void escreve (int macDestino, int tamanho, unsigned char* dados );
            unsigned int le (unsigned char* le, unsigned int);
			void close(void);

};

#endif	/* PILHA_HPP */

